package com.guigu.guliorder.controller;


import com.guigu.guliorder.service.IOmsOrderOperateHistoryService;
import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 订单操作历史记录 前端控制器
 * </p>
 *
 * @author 陈俊杰
 * @since 2024-08-15
 */
@Log4j2
@Validated
@RestController
@RequestMapping("/oms-order-operate-history")
public class OmsOrderOperateHistoryController {
    @Autowired
    private IOmsOrderOperateHistoryService omsOrderOperateHistoryService;
    /**
     * 批量新增订单操作历史记录(通用)
     *
     * @param dto 添加订单操作历史记录的参数
     * @return vo 添加订单操作历史记录的信息
     */
//    @PostMapping
//    public Res<OmsOrderOperateHistory> addBatch(@Validated @RequestBody ArrayList<InsertOmsOrderOperateHistoryBatchDto> dto){
//        log.info("批量新增订单操作历史记录(通用)接口入参为:[{}]",dto);
//        return omsOrderOperateHistoryService.addBatch(dto);
//    }

}
